﻿namespace Creventive.Wpf.ShellFactory.Utility
{
    /// <summary>
    /// Represents an object which can be sealed.
    /// </summary>
    public interface ISealable
    {
        /// <summary>
        /// Gets a value indicating whether this instance has been sealed.
        /// </summary>
        /// <value><c>true</c> if this instance has been sealed; otherwise, <c>false</c>.</value>
        bool IsSealed { get; }

        /// <summary>
        /// Seals this instance.
        /// </summary>
        void Seal();
    }
}